package com.xx.dao.impl;

import com.xx.dao.GoodsDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

@Repository("goodsDao")
public class GoodsDaoImpl implements GoodsDao {
    //获取数据
    @Value("${name}")
    private String name;
    @Value("${price}")
    private int price;
    @Value("${description}")
    private String description;
    public void showGoodsDetail() {
        System.out.println(name+"   "+price+"   "+description);
    }
}
